<?php
/**
 * @Notes:【】
 * @Date: 2022-08-04 23:37
 */

namespace App\Service\Ocean;

use App\Dao\Ocean\OceanFishDao;
use App\Dao\Ocean\OceanRubbishDao;
use App\Tool\Collect;
use Hyperf\Di\Annotation\Inject;

class OceanRubbishService
{

    /**
     * @Inject()
     * @var OceanRubbishDao
     */
    protected $oceanRubbishDao;

    public function lists(Collect $params)
    {
        $data = $this->oceanRubbishDao->lists($params);
        return $data;
    }

    public function add(Collect $params)
    {
        $res = $this->oceanRubbishDao->add($params);
        return $res;
    }

    public function edit($id, Collect $params)
    {
        $res = $this->oceanRubbishDao->edit($id, $params);
        return $res;
    }


}